<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<table id="contentTable" class="table table-striped table-bordered table-condensed">
	<thead><tr><th class="sort-column name">资料名称</th><th>资料描述</th><th >操作</tr></thead>
	<tbody>
	<c:forEach items="${page.list}" var="item">
		<tr>
			<td>${item.name}</td>
			<td>${item.remarks}</td>
			<td><button class="btn btn-info detail" data-id="${item.id}">详情</button></th></td>
		</tr>
	</c:forEach>
	</tbody>
</table>
<div class="pagination">${page}</div>
<script  type="text/javascript">
	function page(n,s){
		if(n) $("#pageNo").val(n);
		if(s) $("#pageSize").val(s);
		loadList();
		return false;
	}
	function loadList(){
		var pageNo=$("#pageNo").val();
		var pageSize=$("#pageSize").val();
		var param={};
		param["pageNo"]=pageNo;
		param["pageSize"]=pageSize;
		//加载数据
		$("#material_list").load("${ctx}/sys/material/materialType/memberMaterialList",param,function () {
		});
	}
	$(function(){
		function bindEvents(){

		}
		bindEvents();
	});

</script>